package cn.ac.iscas.utils;


import cn.ac.iscas.domain.common.EtlColumn;

import java.util.ArrayList;
import java.util.List;

public class DataProcessUtils {
    public static List<String> transformEtlColumn(List<EtlColumn> columns){
        List<String> columnNames = new ArrayList<>();
        if(columns == null){
            return columnNames;
        }
        for (int i = 0 ; i<columns.size() ; i++) {
            columnNames.add(columns.get(i).getName());
        }

        return columnNames;
    }
}
